package cn.ds.assets.module.assets.convert.dataQualityRuleSet;

import java.util.*;

import cn.ds.assets.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ds.assets.module.assets.controller.admin.dataQualityRuleSet.vo.*;
import cn.ds.assets.module.assets.dal.dataobject.dataQualityRuleSet.BaseDataQualityRuleSetDO;

/**
 * 数据质量规则设置 Convert
 *
 * @author admin
 */
@Mapper
public interface BaseDataQualityRuleSetConvert {

    BaseDataQualityRuleSetConvert INSTANCE = Mappers.getMapper(BaseDataQualityRuleSetConvert.class);

    BaseDataQualityRuleSetDO convert(BaseDataQualityRuleSetCreateReqVO bean);

    BaseDataQualityRuleSetDO convert(BaseDataQualityRuleSetUpdateReqVO bean);

    BaseDataQualityRuleSetRespVO convert(BaseDataQualityRuleSetDO bean);

    List<BaseDataQualityRuleSetRespVO> convertList(List<BaseDataQualityRuleSetDO> list);

    PageResult<BaseDataQualityRuleSetRespVO> convertPage(PageResult<BaseDataQualityRuleSetDO> page);

    List<BaseDataQualityRuleSetExcelVO> convertList02(List<BaseDataQualityRuleSetDO> list);

}
